<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>19-字符串拼接出现的问题</title>
	</head>
	<body>
		
		<script type="text/javascript">
			//大量拼接字符串会出现效率问题
			var str = '';
			for(var i=0;i<10000000000;i++){
				str+='A'+i;
			}
			console.log(str);
		</script>
		
	</body>
</html>
